package design.pattern;

public class AddCommand implements Command
{
	public void process(int[] target)
	{
		int sum = 0;
		for (int i : target)
		{
			sum +=i;
		}
		System.out.println(sum);
	}
}
